<?php 
define('RUN_KATANA', true);
define('RUN_COMMANDER', true);
define('RUN_ADMIN', true);
require('includes/hc_top.php'); 
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>HC-Admin Builder</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style>

div.module_content
{
	float:left;
}

</style>
<link rel="stylesheet" type="text/css" href="../templates/core/headers/headers.css"/>
<link rel="stylesheet" type="text/css" href="../templates/core/footers/footers.css"/>
<link rel="stylesheet" type="text/css" href="../templates/core/buttons/buttons.css"/>
<link rel="stylesheet" type="text/css" href="../templates/core/borders/borders.css"/> 
<link rel="stylesheet" type="text/css" href="../templates/core/menu/old_menu.css"/>
<link rel="stylesheet" type="text/css" href="../templates/core/menu/menu.css"/>
<link rel="stylesheet" type="text/css" href="../templates/themes/1/font.css"/>
<link rel="stylesheet" type="text/css" href="../templates/themes/1/style.css"/>
<link rel="stylesheet" type="text/css" href="style.css">
<?php if($_GET['con'] > 0): ?>
<link rel="stylesheet" type="text/css" href="includes/js/dtree/dtree.css"/>
<script type="text/javascript" src="includes/js/dtree/dtree.js"></script>
<script type="text/javascript" src="includes/js/tablefilter/tablefilter.js"></script>
<script type="text/javascript" src="../includes/js/forms.js"></script>
<?php require('includes/js/jquery.php'); ?>
<?php require('includes/js/scriptaculous.php'); ?>
<?php endif; ?>
<script type="text/javascript" src="includes/js/hc/effects.js"></script>
<script type="text/javascript" src="includes/js/hc/forms.js"></script>
</head>

<body>
<?php require('includes/header.php'); ?>
	<div id="mid">
    	<div class="mid_padding">
        	<div class="mid_wrap">
            	<div id="mid_content">
                	<?php 
					if($site['border_content'] > 0)
					{ 
						$border_content = getBorderAdmin($site['border_content']);
						echo getBorderHTML($border_content, 'top');  
					}
					?>
					<?php require('content.php'); ?>
                    <?php echo getBorderHTML($border_content, 'bottom'); ?>
            	</div>
            </div>
    	</div>
	</div>
</body>
</html>
